home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 015 / prn2dsk.arc / CAPT30.DOC < prev    next >
Encoding:
Text File  |  1985-03-29  |  1.1 KB  |  31 lines

  1. TITLE  CAPTURE    Version 3.0 - REDIRECT LPT1 TO DISK
  2.  
  3. ; 4/03/84 - requires DOS 2.0 or above
  4.  
  5.   CAPTURE filespec
  6.  
  7.  Captures all printer output to memory buffer until the buffer
  8.  is full or a '^Z' is received.  The contents of the buffer is
  9.  then written to filespec and a system reset is performed.  I
  10.  use this to copy debug output to disk for later perusal and
  11.  editing. i.e. dis-assemblies of .com files
  12.  
  13.  Please note that the reason for the system reset is that I have
  14.  not found any other way to keep from  hanging the system after
  15.  the file is written.  If anyone knows how please let me hear
  16.  about it.  CAPTURE does not support path names.
  17.  
  18. Note that to generate a ^Z type the F6 key or control Z while in
  19. DOS.  CAPTURE actually watches for the string '^Z' to terminate, not
  20. 1AH as would normally be expected.  The size of the memory buffer
  21. can be changed by changing the BUFSIZ equate to whatever you wish
  22. and then reassembling, linking and converting to a '.COM' file with
  23. EXE2BIN.
  24.  
  25.   Ted Reuss c/o South Texas Software, Inc.
  26.         5847 San Felipe, Suite 1800
  27.         Houston, TX  77057
  28.         (713) 783-9321
  29.  
  30. BUFSIZ    EQU    8000H            ; buffer size (32768)
  31.